GetBodyAsText Method

Syntax

Context.Request.GetBodyAsText as C ()

Returns

ResultCharacter

Returns the request body of a POST or PUT as text. The Context.Request.ContentType should be a text MIME type like text/plain, text/html, or application/json.

Description

Returns the request body decoded into text.

Discussion

Context.Request.GetBodyAsText() returns the request body decoded into text.